<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <jsp:include page="../head.jsp" flush="true">
        <jsp:param name="title" value="后台管理系统 - 用户管理"/>
    </jsp:include>
    <style>
        td{width:150px;heitht:auto;}
        table{text-align:center;}
        p{width:1000px;}
        input{width:auto;border:none;}
    </style>
    <script type="text/javascript">
        function checkForm() {
            if (window.confirm("确定提交表格并进入下一表格吗？\r\注意：表格不可重复填写！")) {
                return true;
            }
            return false;
        }
    </script>
</head>
<body  align="center">
<!-- 头导航 -->
<jsp:include page="../navbar.jsp"/>

<form action="${domain}/admin/seventh/d" method="post"  onsubmit="return checkForm()">
    <div align="center" width="1000px">
        <td><input name="oName" type="hidden" value="${oName}"></td>

        <h4>表5 2015年免疫规划内的免费疫苗情况调查表</h4>

        <table border="1" cellspacing="0" cellpadding="0">
            <tr>
                <td >疫苗名称</td>
                <td>进货总量</td>
                <td>单位</td>
                <td>进货单价（元）</td>
                <td>本级CDC使用数量</td>
            </tr>

            <%
                String[]  value  = { "乙肝疫苗","脊髓灰质炎疫苗","卡介苗","百白破",
                "麻风疫苗（麻疹疫苗）","麻腮风疫苗（麻腮疫苗、麻疹疫苗）","乙脑减毒活疫苗",
                        "A群流脑疫苗","A+C流脑疫苗", "甲肝减毒活疫苗","出血热疫苗（双价）","炭疽疫苗",
                        "钩体疫苗","乙脑灭活疫苗  ","甲肝灭活疫苗","","","","",""};
                pageContext.setAttribute("value", value);
            %>
            <c:forEach var="s"  begin="0" end="24">
                <tr>
                    <c:choose>
                        <c:when test="${s<15}">
                         <td><input name=seventhD[${s*5+0}] value="${pageScope.value[s]}" type="hidden">${pageScope.value[s]}</td>
                         </c:when>
                        <c:otherwise>
                           <td> <input name=seventhD[${s*5+0}] ></td>
                        </c:otherwise>
                    </c:choose>
                    <td><input name=seventhD[${s*5+1}] type="number" step="0.01"></td>
                    <td><input name=seventhD[${s*5+2}] ></td>
                    <td><input name=seventhD[${s*5+3}] type="number" step="0.01"></td>
                    <td><input name=seventhD[${s*5+4}] type="number" step="0.01"></td>
                </tr>
            </c:forEach>
        </table>
        <p align="left">
            注：</br>
            1、如本机构无某一疫苗的接种，请在对应的单元格中填横线。<br/>
            2、表中没有列出的疫苗，请在空行中补充。</br>
        </p>

    <button type="submit" ><b>提交并进入下一表格</b></button>


    </div>

</form>
</body>
</html>